import 'package:flutter/material.dart';

/*
* @Package: config
* @ClassName: color_config
* @Author: szj
* @CreateDate: 7/28/21 2:39 PM
*/
class ColorConfig {
  static const Color white = Colors.white;

  //当前主题色
  static Color themeColor = Colors.white;

  //主题颜色
  static Map<String, Color> themeColorMap = {
    'gray': Colors.grey,
    'blue': Colors.blue,
    'blueAccent': Colors.blueAccent,
    'cyan': Colors.cyan,
    'deepPurple': Colors.purple,
    'deepPurpleAccent': Colors.deepPurpleAccent,
    'deepOrange': Colors.orange,
    'green': Colors.green,
    'indigo': Colors.indigo,
    'indigoAccent': Colors.indigoAccent,
    'orange': Colors.orange,
    'purple': Colors.purple,
    'pink': Colors.pink,
    'red': Colors.red,
    'teal': Colors.teal,
    'black': Colors.black,
    'white': Colors.white,
  };

  //主题模式
  static Map<String, Brightness> brightnessColorMap = {
    'dark': Brightness.dark,
    'light': Brightness.light,
  };
}
